package com.cictec.middleware.api.dc;

import java.util.Date;
import java.util.List;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.cictec.middleware.core.entity.Bus;
import com.cictec.middleware.core.entity.BusCharter;
import com.cictec.middleware.core.entity.BusScheduleApply;

public interface MiddlewareDcBusService {

	@RequestMapping(value = "/dc/bus/updateBusWorkingLine")
	public void updateBusWorkingLine(Bus bus);
	
	@RequestMapping(value = "/dc/bus/updateForceNonoperStatus")
	public void updateForceNonoperStatus(Bus bus);
	
	@RequestMapping(value = "/dc/bus/busCharter")
	public List<BusCharter> getBusCharter(@RequestParam("busUuid") String busUuid,
			@RequestParam("date") Date time);
	
	@RequestMapping(value = "/dc/bus/getBusScheduleApply")
	public List<BusScheduleApply> getBusScheduleApply(@RequestParam("busUuid") String busUuid,
			@RequestParam("date") Date time);

	@RequestMapping(value = "/dc/bus/saveBusScheduleApply")
	public void saveBusScheduleApply(BusScheduleApply busScheduleApply);
	
}
